<?php
include_once("../../../config.php");

//从member表中筛选局长出来
$leader_list = select_lines_all_items($table_Prefix . "member", "nid desc", "leader = '是' ", "0");

$data = array();
foreach ($leader_list as $key => $value ){
    $data[$key]['nid'] = $value['nid'];
    $data[$key]['nickname'] = $value['nickname'];
}

$arr['status'] = 200;
$arr['data'] = $data;
die(json_encode($arr));
